Automattic\Jetpack\Search\Plan S

Total Complexity 30
Dependencies 4
Dependents 7
Total lines 163
Lines of code 81
Logical lines of code 42
Comment lines 57
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
set_plan_options()
S
57 6 16
get_plan_info()
S
64 4 10
update_search_plan_info()
S
63 3 11
is_free_plan()
S
73 3 4
init_hooks()
S
70 2 6
supports_instant_search()
S
75 2 4
supports_search()
S
75 2 4
must_upgrade()
S
74 2 4
supports_only_classic_search()
S
75 2 4
ever_supported_search()
S
79 2 3
get_plan_info_from_wpcom()
S
62 1 12
has_jetpack_search_product()
S
80 1 3